package com.dk.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("tb_areas")
public class TbAreas {

    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    @TableField(value = "areaid")
    private String areaId;

    @TableField(value = "area")
    private String area;

    @TableField(value = "cityid")
    private String cityId;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getAreaId() {
        return areaId;
    }

    public void setAreaId(String areaId) {
        this.areaId = areaId;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getCityId() {
        return cityId;
    }

    public void setCityId(String cityId) {
        this.cityId = cityId;
    }

    public TbAreas() {
    }

    public TbAreas(Long id, String areaId, String area, String cityId) {
        this.id = id;
        this.areaId = areaId;
        this.area = area;
        this.cityId = cityId;
    }
}
